示例#1
0
    private void FixedUpdate()
    {
        float endTime = startTime + shieldTime;

        if (Time.fixedTime < (endTime))
        {
            Ko.ShieldMe(true);
        }
        else
        {
            Ko.ShieldMe(false);
            dialogue.TriggerDialogue();

            enabled = false; // we're done here.
        }
    }
示例#2
0
 override protected void Invoker(string bla)
 {
     koMove.ShieldMe(true);
     //shielding = true;
 }