/// <summary> /// 从对象池中取出漂浮文字对象,生命恢复 by何明军 /// </summary> /// <param name="_pos"></param> /// <param name="_rot"></param> /// <returns></returns> public StateTexter SpawnStateTexter(int val) { //if (!SystemSettingMng.ShowStateTexts) return null; StateTexter stateTexter = stateTexterPool.Request(); stateTexter.OnSpawned(val); return(stateTexter); }
/// <summary> /// 从对象池中取出漂浮文字对象 by吴江 /// </summary> /// <param name="_pos"></param> /// <param name="_rot"></param> /// <returns></returns> public StateTexter SpawnStateTexter(AbilityResultInfo _info) { //if (!SystemSettingMng.ShowStateTexts) return null; StateTexter stateTexter = stateTexterPool.Request(); stateTexter.OnSpawned(_info); return(stateTexter); }