Exemple #1
0
    public DroneAttackState(DroneStateController drone) : base(drone.gameObject)
    {
        mDrone = drone;

        // mLineRenderer = drone.GetComponent<LineRenderer>();
        mLineRenderer    = drone.LineRenderer;
        mPlayerTransform = drone.Target.transform;
    }
Exemple #2
0
 public IdleState(DroneStateController drone) : base(drone.gameObject)
 {
     this.mDrone = drone;
 }