Ejemplo n.º 1
0
    public override void Init(RigManager rigManager, BurinkeruCharacterController characterController, ParticlesManager particlesManager)
    {
        base.Init(rigManager, characterController, particlesManager);

        rigAnmationController = rigManager.RigWithKatana;
        rigAnmationController.OnAttackEnded   += onAttackEnded;
        rigAnmationController.OnAttackStarted += onAttackStarted;
        rigAnmationController.OnCustomEvent   += onCustomEventOccured;
    }
Ejemplo n.º 2
0
    public virtual void Init(RigManager rigManager, BurinkeruCharacterController characterController, ParticlesManager particleManager)
    {
        this.rigManager          = rigManager;
        this.characterController = characterController;
        this.particleManager     = particleManager;
        CanAttack = true;

        initActionsDefinitions();
    }
Ejemplo n.º 3
0
    public override void Init(RigManager rigManager, BurinkeruCharacterController characterController, ParticlesManager particlesManager)
    {
        base.Init(rigManager, characterController, particlesManager);

        rigAnmationController = rigManager.RigWithRevolver;
        rigAnmationController.OnAttackEnded += onAttackEnded;
        rigAnmationController.OnCustomEvent += onCustomEvent;

        Bullets   = MAX_BULLETS;
        CanAttack = true;
    }
Ejemplo n.º 4
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else if (instance != this)
     {
         Destroy(this);
         Debug.Log("Destroying another rig manager", gameObject);
     }
 }
Ejemplo n.º 5
0
        public List <RigDetail> GetRigDetail()
        {
            Country country = new Country()
            {
                CountryId   = 1,
                CountryName = "abc"
            };
            Region region = new Region()
            {
                RegionId   = 1,
                RegionName = "Abc",
                Country    = country,
                IsActive   = true
            };
            RigManager rigManager = new RigManager()
            {
                RigManagerId   = 1,
                RigManagerName = "abc"
            };
            RigType rigType = new RigType()
            {
                RigTypeId   = 1,
                RigTypeName = "abc",
                IsActive    = true
            };
            List <RigDetail> rigDetails = new List <RigDetail>();

            rigDetails.Add(new RigDetail()
            {
                RigDetailId              = 1,
                RigName                  = "Abc",
                RigWaterDepth            = 300,
                RigDrillingDepth         = 30000,
                CurrentBlockOrWell       = "abc",
                CurrentLocationEndDate   = DateTime.Parse("01-01-2020"),
                CurrentLocationStartDate = DateTime.Parse("10-10-2020"),
                CurrentLocation          = region,
                RigManager               = rigManager
            });
            return(rigDetails);
        }
Ejemplo n.º 6
0
 // Start is called before the first frame update
 void Awake()
 {
     RM = this;
 }