private void Update()
{
if (objectVariablesComponent == null)
{
try
{
objectVariablesComponent = GetComponent<ObjectVariablesComponent>();
if (objectVariablesComponent != null)
variableHandler = objectVariablesComponent.Handler;
}
catch
{
objectVariablesComponent = null;
}
}
}
It looks like you're new here. If you want to get involved, click one of these buttons!