//Init all variables protected override void Start() { base.Start(); cs = GetComponent <DinoPlayer> (); lightRadar = GetComponent <RaycastLightRadar> (); inputSize = lightRadar.numberOfRaycast * 2 + 4 * 2; lastInputs = new double[1, inputSize]; }
void Awake() { dp = GetComponent <DinoPlayer> (); rb = GetComponent <Rigidbody2D> (); }