void Start() { rb.GetComponent <Rigidbody2D>(); centrePlatformLocation = platform.transform.position; up = true; stickman = GameObject.Find("stickman").GetComponent <stickmanScript>(); }
// Start is called before the first frame update void Start() { GameObject stickmanSprite = GameObject.Find("stickman"); stickman = stickmanSprite.GetComponent <stickmanScript>(); Destroy(this); //remember to get rid of this line of code to make the buttons work }
void Start() { GameObject stickmanObject = GameObject.Find("stickman"); stickman = stickmanObject.GetComponent <stickmanScript>(); yLocStep = item.transform.position.y; stepVectorPosition = item.transform.position; }
void Start() { anim = GetComponent <Animator>(); stickman = GameObject.Find("stickman").GetComponent <stickmanScript>(); }
// Start is called before the first frame update void Start() { GameObject stickmanSprite = GameObject.Find("stickman"); stickman = stickmanSprite.GetComponent <stickmanScript>(); }