public override bool HandleCollisionWithActor(core.Actor inActor) { if (GetPlayerId() != inActor.GetPlayerId()) { //RenderManager.sInstance.RemoveComponent(mSpriteComponent.get()); } return(false); }
private bool MyTeamCheck() { core.Actor actor = null; core.World.Instance().playerList.TryGetValue(NetworkManagerClient.sInstance.GetPlayerId(), out actor); if (actor != null) { if (actor.Team == (core.Team)Team) { return(true); } } return(false); }
/// <summary> /// 캐릭터 충돌시 아이템 획득 /// </summary> /// <param name="inActor"></param> /// <returns></returns> public override bool HandleCollisionWithActor(core.Actor inActor) { return(false); }