// Use this for initialization void Start() { Script01 = GetComponent <PlayerPayingFoodToThisObject>(); rb = GetComponent <Rigidbody>(); if (this.gameObject.name != "BabiCub") { this.gameObject.name = "BabiCub"; } }
// Use this for initialization void Start() { Script01 = GetComponent <PlayerPayingFoodToThisObject>(); script02 = Hive.GetComponent <PlayerPayingFoodToThisObject>(); }