public override Playable CreatePlayable(PlayableGraph graph, GameObject owner) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) LightIntensityPlayableBehaviour lightIntensityPlayableBehaviour = new LightIntensityPlayableBehaviour(m_curve); return(ScriptPlayable <LightIntensityPlayableBehaviour> .op_Implicit(ScriptPlayable <LightIntensityPlayableBehaviour> .Create(graph, lightIntensityPlayableBehaviour, 0))); }
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner) { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) if (!m_prefabReference.get_hasValue()) { return(Playable.get_Null()); } VisualEffectContext context = TimelineContextUtility.GetContext <VisualEffectContext>(graph); VisualEffectPlayableBehaviour visualEffectPlayableBehaviour = new VisualEffectPlayableBehaviour(owner, context, m_prefab, m_stopMode, m_parentingMode, m_orientationMethod, m_offset); return(ScriptPlayable <VisualEffectPlayableBehaviour> .op_Implicit(ScriptPlayable <VisualEffectPlayableBehaviour> .Create(graph, visualEffectPlayableBehaviour, 0))); }
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) FightContext fightContext = TimelineContextUtility.GetFightContext(graph); if (null != fightContext) { FightStatus local = FightStatus.local; if (local != null && fightContext.fightId != local.fightId) { return(Playable.get_Null()); } } CameraShakePlayableBehaviour cameraShakePlayableBehaviour = new CameraShakePlayableBehaviour(m_curve); return(ScriptPlayable <CameraShakePlayableBehaviour> .op_Implicit(ScriptPlayable <CameraShakePlayableBehaviour> .Create(graph, cameraShakePlayableBehaviour, 0))); }
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) CharacterObjectContext context = TimelineContextUtility.GetContext <CharacterObjectContext>(graph); if (context == null) { DummyPlayableBehaviour dummyPlayableBehaviour = new DummyPlayableBehaviour(); return(ScriptPlayable <DummyPlayableBehaviour> .op_Implicit(ScriptPlayable <DummyPlayableBehaviour> .Create(graph, dummyPlayableBehaviour, 0))); } CharacterObjectColorModifierPlayableAsset defaultsSource = m_writeDefaults ? GetLastClip() : null; CharacterObjectColorModifierPlayableMixer characterObjectColorModifierPlayableMixer = new CharacterObjectColorModifierPlayableMixer(context, go, this.GetClips(), defaultsSource); return(ScriptPlayable <CharacterObjectColorModifierPlayableMixer> .op_Implicit(ScriptPlayable <CharacterObjectColorModifierPlayableMixer> .Create(graph, characterObjectColorModifierPlayableMixer, inputCount))); }
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner) { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) if (string.IsNullOrEmpty(m_eventGuid)) { return(Playable.get_Null()); } Guid guid = Guid.ParseExact(m_eventGuid, "N"); if (guid == Guid.Empty) { return(Playable.get_Null()); } AudioContext context = TimelineContextUtility.GetContext <AudioContext>(graph); AudioEventPlayableBehaviour audioEventPlayableBehaviour = new AudioEventPlayableBehaviour(guid, m_stopMode, m_volume, m_parameters, context, owner.get_transform()); return(ScriptPlayable <AudioEventPlayableBehaviour> .op_Implicit(ScriptPlayable <AudioEventPlayableBehaviour> .Create(graph, audioEventPlayableBehaviour, 0))); }
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_00f2: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_0114: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0125: Unknown result type (might be due to invalid IL or missing references) //IL_012a: Unknown result type (might be due to invalid IL or missing references) if (null == m_parameters || !m_parameters.isValid || Mathf.Approximately(m_strength, 0f)) { return(Playable.get_Null()); } Transform parent = owner.get_transform().get_parent(); if (null == parent) { return(Playable.get_Null()); } CellObject componentInParent = parent.GetComponentInParent <CellObject>(); if (null == componentInParent) { return(Playable.get_Null()); } AbstractFightMap abstractFightMap = componentInParent.parentMap as AbstractFightMap; if (null == abstractFightMap) { return(Playable.get_Null()); } Vector2Int val = componentInParent.coords; Quaternion rotation; switch (m_orientationMethod) { case OrientationMethod.None: rotation = Quaternion.get_identity(); break; case OrientationMethod.Context: { VisualEffectContext context = TimelineContextUtility.GetContext <VisualEffectContext>(graph); if (context == null) { rotation = Quaternion.get_identity(); break; } context.GetVisualEffectTransformation(out rotation, out Vector3 _); val += m_offset.Rotate(rotation); break; } case OrientationMethod.Director: rotation = owner.get_transform().get_rotation(); val += m_offset.Rotate(rotation); break; default: throw new ArgumentOutOfRangeException(); } CellObjectAnimationPlayableBehaviour cellObjectAnimationPlayableBehaviour = new CellObjectAnimationPlayableBehaviour(abstractFightMap, m_parameters, val, rotation, m_strength); return(ScriptPlayable <CellObjectAnimationPlayableBehaviour> .op_Implicit(ScriptPlayable <CellObjectAnimationPlayableBehaviour> .Create(graph, cellObjectAnimationPlayableBehaviour, 0))); }