コード例 #1
0
    public void ActivationStart()
    {
        x += 1;
        x  = x % interactions.Count;
        currentBehavior = interactions[x];
        DefaultType temp = currentBehavior.GetComponent <DefaultType>();

        if (temp.GetTimer() <= 0)
        {
            temp.Action();
        }
        hold = true;
    }