示例#1
0
 private void BloodMeshParticlesHandler(Quaternion direction)
 {
     if (GameController.Instance.bloodMeshParticles)
     {
         FunctionInterval.Create(CreateMeshParticles(5, 7, direction), .2f, Random.Range(3, 4));
     }
 }
示例#2
0
    public void OnEntry()
    {
        id = count++;

        // Entity.Engaging.HardLookAtTarget();
        FunctionInterval.Create(
            Entity.Engaging.Attack,
            Entity.Engaging.AttackCoolDown,
            tag: $"AttackLoop#{id}"
            );
    }
示例#3
0
文件: Bump.cs 项目: RoscaS/YAARTS
 private void Start()
 {
     Agent = GetComponent <NavMeshAgent>();
     FunctionInterval.Create(() => Agent.radius += GrowthRate, GrowthSpeed, Ticks);
 }
示例#4
0
 public void OnExit()
 {
     FunctionInterval.Stop($"AttackLoop#{id}");
 }
示例#5
0
 private void BloodBath()
 {
     FunctionInterval.Create(BloodSpill(5, 12), .1f, Random.Range(20, 40));
 }
示例#6
0
    /*------------------------------------------------------------------*\
    |*							Private methodes
    \*------------------------------------------------------------------*/

    private void Bleed()
    {
        FunctionInterval.Create(BloodSpill(8, 8), .2f, Random.Range(2, 4));
    }