浏览代码

Fix in Director Control Rig / Added Valid/Invalid outcome for Platform Logic

/main
Thomas ICHÉ 4 年前
当前提交
7a62196c
共有 3 个文件被更改,包括 16 次插入3 次删除
  1. 2
      CHANGELOG.md
  2. 6
      Runtime/Ingredients/Rigs/DirectorControlRig.cs
  3. 11
      Runtime/LevelScripting/Logic/PlatformLogic.cs

2
CHANGELOG.md


#### Added
- Added API Access to the Link Game View Camera object
- Added Valid/Invalid paths for Platform Logic
* Fixed Possible Out-of range director time in DirectorControlRig
## 2019.3.5

6
Runtime/Ingredients/Rigs/DirectorControlRig.cs


m_StopTime = -1.0f;
}
else
director.time = newTime;
{
newTime = Mathf.Clamp(newTime, 0f, (float)director.playableAsset.duration);
director.time = newTime;
}
director.Evaluate();

11
Runtime/LevelScripting/Logic/PlatformLogic.cs


using System.Linq;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Serialization;
namespace GameplayIngredients.Logic
{

public InclusionMode inclusionMode = InclusionMode.IsTarget;
[ReorderableList, FormerlySerializedAs("Calls")]
public Callable[] OnTestValid;
public Callable[] Calls;
public Callable[] OnTestInvalid;
Call(Calls, instigator);
Call(OnTestValid, instigator);
else
Call(OnTestInvalid, instigator);
}
}
}
正在加载...
取消
保存