void Start() { movement = GetComponent <Movement.Movement>(); character = GameObject.FindWithTag("Player").transform; weapons = GetComponentsInChildren <EnemyGun>(); }
public API(Robot _robot) : base(_robot) { Movement = new Movement.Movement(_robot); Camera = new Rovio.API.Camera(_robot); User = new Rovio.API.User(_robot); Time = new Rovio.API.Time(_robot); Network = new Rovio.API.Network(_robot); Server = new Rovio.API.Server(_robot); Mail = new Rovio.API.Mail(_robot); Other = new Other.Other(_robot); }