private void Start() { mxHeroMotor = GetComponent <NFHeroMotor>(); mxSyncBuffer = GetComponent <NFHeroSyncBuffer>(); mxBodyIdent = GetComponent <NFBodyIdent>(); mAnimaStateMachine = GetComponent <NFAnimaStateMachine>(); mxNetModule = NFPluginManager.Instance().FindModule <NFNetModule>(); mLoginModule = NFPluginManager.Instance().FindModule <NFLoginModule>(); mHelpModule = NFPluginManager.Instance().FindModule <NFHelpModule>(); }
private void Start() { mxHeroMotor = GetComponent <NFHeroMotor>(); mxSyncBuffer = GetComponent <NFHeroSyncBuffer>(); mxBodyIdent = GetComponent <NFBodyIdent>(); mAnimaStateMachine = GetComponent <NFAnimaStateMachine>(); mAnimatStateController = GetComponent <NFAnimatStateController>(); mNetModule = NFRoot.Instance().GetPluginManager().FindModule <NFNetModule>(); mLoginModule = NFRoot.Instance().GetPluginManager().FindModule <NFLoginModule>(); mHelpModule = NFRoot.Instance().GetPluginManager().FindModule <NFHelpModule>(); mKernelModule = NFRoot.Instance().GetPluginManager().FindModule <NFIKernelModule>(); }