Your speech is off-putting and very confusing. Proper English may help in this situation. Seems you need to check if the instance is null, possibly something like:
if (TheGameObjectOrComponentYourTryingToAccess != null)
{
transform.GetComponent(Colliding2).StandingOn.GetComponent(Properties);
}
else
{
Debug.Log("There is no Instance for this GameObject or Component);
}
Not sure if this will work because you have not given a snippet of code or the line of error; so I don't know what Object (GameObject or Component) is not referenced.
↧