浏览代码

Added Set Instigator logic

/2018.3
Thomas ICHÉ 5 年前
当前提交
596e1ef7
共有 2 个文件被更改,包括 32 次插入0 次删除
  1. 21
      Runtime/LevelScripting/Logic/SetInstigatorLogic.cs
  2. 11
      Runtime/LevelScripting/Logic/SetInstigatorLogic.cs.meta

21
Runtime/LevelScripting/Logic/SetInstigatorLogic.cs


using NaughtyAttributes;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GameplayIngredients.Logic
{
public class SetInstigatorLogic : LogicBase
{
[ReorderableList]
public Callable[] Next;
public GameObject NewInstigator;
public override void Execute(GameObject instigator = null)
{
Call(Next, NewInstigator);
}
}
}

11
Runtime/LevelScripting/Logic/SetInstigatorLogic.cs.meta


fileFormatVersion: 2
guid: 1bbc9ba9041c09746bf4941d88a7bca8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {fileID: 2800000, guid: 6d0a734cdedf48d478f3fcc7612af66f, type: 3}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存