Example #1
0
    public void Breathe(Vector3 origin, Vector3 direction)
    {
        Breathe b = new Breathe();

        b.power     = power;
        b.range     = range;
        b.origin    = origin;
        b.direction = direction;
        pubSub.Publish(b);
    }
Example #2
0
 void Start()
 {
     pctBreatheCS  = playerCamTarget.GetComponent <Breathe>();
     faderAnimator = fader.GetComponent <Animator>();
 }