コード例 #1
0
    public static Entity GetLocalSimPlayerEntity(ExternalSimWorldAccessor simulationWorld)
    {
        if (PlayerRepertoireSystem.Instance == null)
        {
            return(Entity.Null);
        }

        return(PlayerHelpers.GetSimPlayerFromPlayer(PlayerRepertoireSystem.Instance.GetLocalPlayerInfo(), simulationWorld));
    }