예제 #1
0
        public void EjectAction(KSPActionParam param)
        {
            Debug.Log("[SSC_VS] Boop");
            if (_seatModule != null && _seatModule.Occupant != null)
            {
                KerbalEVA evaModule = _seatModule.Occupant.FindModuleImplementing <KerbalEVA>();
                if (evaModule == null)
                {
                    Debug.LogError("[SSC_VS] Kerbal EVA module not found.");
                    return;
                }

                evaModule.OnDeboardSeat();
            }
        }