Adding iTweenHinting.

parent 95d0e336
......@@ -6,6 +6,9 @@ using System.IO;
using System.Collections;
using System.Collections.Generic;
using mt = iT.MoveTo;
namespace dlu
{
......@@ -168,11 +171,12 @@ public class SceneController : MonoBehaviour
Hashtable arguments = new Hashtable();
arguments["name"] = actionName;
arguments["position"] = targetGO.transform;
arguments["speed"] = speed;
arguments["oncomplete"] = "ActionParticipantDone";
arguments["oncompleteparams"] = referenceName;
arguments["oncompletetarget"] = gameObject;
arguments[mt.lookahead] = 0.01f;
arguments[mt.path] = new Transform[]{midPointGO.transform, targetGO.transform};
arguments[mt.speed] = speed;
arguments[mt.oncomplete] = "ActionParticipantDone";
arguments[mt.oncompleteparams] = referenceName;
arguments[mt.oncompletetarget] = gameObject;
iTween.MoveTo(participantGO, arguments);
}
......
fileFormatVersion: 2
guid: 112e1143e84ed4a4889cb9076cc944bc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
fileFormatVersion: 2
guid: c6bf8f07444f445a3ab2f1bdbcd0a3c8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment