/* * SPDX-License-Identifier: AGPL-3.0-or-later * Copyright (C) 2025 Sergej Görzen * This file is part of OmiLAXR. */ using UnityEngine; namespace OmiLAXR { /// /// Represents an actor in the OmiLAXR system. /// This class extends ActorPipelineComponent and provides basic actor properties. /// [AddComponentMenu("OmiLAXR / Actors / Actor")] public class Actor : ActorPipelineComponent { /// /// Reference to the team this actor belongs to. /// public Team team; /// /// Checks if the actor is assigned to a team. /// public bool HasTeam => team != null; /// /// The name of the actor. Defaults to "Anonymous". /// public string actorName = "Anonymous"; /// /// The email address of the actor. Defaults to "anonymous@omilaxr.dev". /// public string actorEmail = "anonymous@omilaxr.dev"; /// /// Indicates whether this actor is a group actor. /// Can be overridden by derived classes. /// public virtual bool IsGroupActor => false; } }