This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parts list for MAV: | |
Arduino UNO; 1; | |
MTK3339; 1; http://botland.com.pl/moduly-gps/2662-adafruit-ultimate-gps-modul-gps-mtk3339.html | |
MPU-6050; 1; http://botland.com.pl/akcelerometry-moduly/1632-mpu-605-modul-3-osiowy-akcelerometr-i-zyroskop-sparkfun.html | |
BMP180; 1; http://botland.com.pl/czujniki-cisnienia/2128-bmp180-barometr-czujnik-cisnienia-modul-sparkfun.html | |
ECS HobbyKing 20A Blue series; 4; electropark.pl | |
BDLC Redox 400/1400; 4; electropark.pl> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void vote(int candidate) { | |
/* | |
switch(candidate) { | |
case Canditate.DZIERZAWSKI: ++mDzierzawskiVotes; break; | |
case Canditate.ERBEL: ++mErbelVotes; break; | |
case Canditate.GORAYSKI: ++mGorayskiVotes; break; | |
case Canditate.GRONKIEWICZ-WALTZ: ++mBitchVotes; break; | |
case Canditate.GUZIAŁ: ++mGuzialVotes; break; | |
case Canditate.NOSAL-IKONOWICZ: ++mIkonowiczVotes; break; | |
case Canditate.ROZENEK: ++mRozenekVotes; break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Java class */ | |
public void FooHandler { | |
private long mHandle; // stores native pointer | |
/* Creates c++ object and returns it's pointer */ | |
private native long init(); | |
/* Calls "delete" on c++ object */ | |
private native void destroy(long handle); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/Light rays" { | |
Properties { | |
_MainTex ("Rays texture", 2D) = "white" {} | |
_speed ("Speed", Float) = 0.2 | |
} | |
Category { | |
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | |
Blend SrcAlpha One |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerator Kupka_coroutine() { | |
while(true) { | |
if(x>0.9) { | |
for(float t=0;, t<1; t+=speed*Time.delta) { | |
//przesun kamere o 1 step | |
yield return null; | |
} | |
} else { | |
yield return null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEditorInternal; | |
[InitializeOnLoad] | |
public static class MecanimParamsGeneration { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using System; | |
using System.Collections; | |
using System.IO; | |
using System.Text; | |
public class ConstantsGenerator : EditorWindow | |
{ | |
private const string CLASS_HEADER = "// This class is auto-generated, do not modify.\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using System; | |
using System.Collections; | |
using System.IO; | |
using System.Text; | |
public class ConstantsGenerator : EditorWindow | |
{ | |
private const string CLASS_HEADER = "// This class is auto-generated, do not modify.\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Receiving unhandled NULL exception | |
Launching bug reporter | |
Obtained 27 stack frames. | |
#0 0x00000101ff8437 in AnimationPlayable::ConnectNoTopologyChange(AnimationPlayable*, AnimationPlayable*, int, int) | |
#1 0x000001020554fe in mecanim::statemachine::EndTransition(mecanim::statemachine::StateMachineInput const&, mecanim::statemachine::StateMachineOutput&, mecanim::statemachine::StateMachineMemory&, mecanim::memory::MecanimAllocator&) | |
#2 0x000001020557b5 in mecanim::statemachine::EvaluateStateMachine(mecanim::statemachine::StateMachineConstant const&, mecanim::statemachine::StateMachineInput const&, mecanim::statemachine::StateMachineOutput&, mecanim::statemachine::StateMachineMemory&, mecanim::statemachine::StateMachineWorkspace&) | |
#3 0x00000101ffda70 in AnimatorControllerPlayable::UpdateGraph(float) | |
#4 0x00000101ffd633 in AnimatorControllerPlayable::PrepareFrame(FrameData const&, Playable*) | |
#5 0x00000100ca7aa8 in RecursivePlayableTraverser::Traverse(FrameData&, Playable*, Playable*, DirectorPlayer*, int, voi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Sathra.Localization { | |
[ExecuteInEditMode] | |
[RequireComponent(typeof(Text))] | |
public class Localizer : MonoBehaviour { | |
#region Inspector | |
[SerializeField] private int _resId = 0; | |
#endregion | |
OlderNewer