Skip to content
Snippets Groups Projects
Select Git revision
  • bfafcd96b734fc2b90f19611aefe73bdd179b490
  • master default
  • JS-based-scroll-rendering
  • Paul_Marius_Level
  • Paul_Marius_2
  • Paul_Marius
  • Andi_Mark
  • be-UnityWebView
  • gitignoreFrameitServer
  • ZimmerBSc
  • Bugfix_StageLoading
  • stages
  • MAZIFAU_Experimental
  • tsc/coneworld
  • tsc/fact-interaction
  • marcel
  • MaZiFAU_TopSort
  • mergeHelper
  • zwischenSpeichern
  • tempAndrToMaster
  • SebBranch
  • 3.0
  • v2.1
  • v2.0
  • v1.0
25 results

Remover.cs

Blame
  • Remover.cs 455 B
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using static CommunicationEvents;
    
    public class Remover : Gadget
    {
        /// \copydoc Gadget.s_type
        [Newtonsoft.Json.JsonProperty]
        protected static new string s_type = "Remover";
    
        public override void _Hit(RaycastHit hit)
        {
            var hid = hit.transform.GetComponent<FactObject>()?.URI;
            StageStatic.stage.factState.Remove(hid, false, this);
        }
    }