//更新関数 void Update() { if (charaAda.GetCurRegisterListCount() > 0) { if (preListCount <= 0) //インク床に入った瞬間 { slipTime = 0; } preDirection = Vector3.zero; charaAda.RegisterCharaDirector(); } preListCount = charaAda.GetCurRegisterListCount(); }
//更新関数 void FixedUpdate() { if (charaAda.GetCurRegisterListCount() > 0) { charaAda.RegisterCharaDirector(); } }